]> dgit.raspbian.org Git - gnome-shell.git/commit
endSessionDialog: Check for PackageKit before considering updates/upgrades
authorMario Sanchez Prada <mario@igalia.com>
Mon, 8 Jul 2019 06:51:36 +0000 (08:51 +0200)
committerMario Sanchez Prada <mario@igalia.com>
Mon, 8 Jul 2019 11:57:23 +0000 (13:57 +0200)
commitbb6d9734e4c1ca0d6a6a67a56ad77e420025d022
tree3112aa18c84aabe6c9049c17da8adb52f1f224bd
parent53be76c9e206d21942c7d03abcf688d9295a8f22
endSessionDialog: Check for PackageKit before considering updates/upgrades

GNOME Shell is spitting out some errors in the journal due to its attempts
to speak to PackageKit, which is not present on Endless OS, so let's add
some runtime checks to make sure that PackageKit is actually available
before assuming so and using its proxy to decide which kind of UI to
show to the user when ending the session.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/369
js/ui/endSessionDialog.js